package com.xggstudio.crm.ui.mvp.v;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import com.xggstudio.crm.R;
import com.xggstudio.crm.base.BaseActivity;

public class AddOrEditOtherActivity extends BaseActivity {
    @Override
    protected int getLayout() {
        return R.layout.activity_add_or_edit_other;
    }

    @Override
    protected void init(Bundle savedInstanceState) {


    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.menu_add_cus,menu);
        return super.onCreateOptionsMenu(menu);
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {

        switch (item.getItemId()){
            case R.id.menu_add:

                break;
            case android.R.id.home:
                finish();
                break;
        }

        return super.onOptionsItemSelected(item);
    }
}
